

ARCH ?= 

CC := $(ARCH)gcc
CXX := $(ARCH)g++
LD  := $(ARCH)ld

CFLAGS += -fomit-frame-pointer -fno-strict-aliasing \
    -finline-limit=64 
	

    
ifeq ($(ANDROID),1)
	CFLAGS += -mfloat-abi=softfp -mfpu=vfpv3-d16 -mthumb -Wa,--noexecstack -fpic -fpie -fPIE 
endif


CXXFLAGS += $(CFLAGS) -std=gnu++11 \
  -fstrict-aliasing \
  -fno-exceptions \
  -fomit-frame-pointer


  